import request from '@/utils/request'

export function getDictList(data) {
  return request({
    url: '/publicApiAuth/getDictList',
    method: 'post',
    data,
  })
}

export function getSpecialList(params) {
  return request({
    url: '/publicApiAuth/getSpecialList',
    method: 'get',
    params,
  })
}

export function getCategoryList(params) {
  return request({
    url: '/publicApiAuth/getCategoryList',
    method: 'get',
    params,
  })
}

export function getArtistList(params) {
  return request({
    url: '/publicApiAuth/getArtistList',
    method: 'get',
    params,
  })
}

export function getAlbumList(params) {
  return request({
    url: '/publicApiAuth/getAlbumList',
    method: 'get',
    params,
  })
}

export function getDictTreeList(data) {
  return request({
    url: '/publicApiAuth/getDictTreeList',
    method: 'post',
    data,
  })
}

export function doStatisticsForEmpPos(params) {
  return request({
    url: '/publicApiAuth/doStatisticsForEmpPos',
    method: 'get',
    params,
  })
}
export function doStatisticsForEmpAge(params) {
  return request({
    url: '/publicApiAuth/doStatisticsForEmpAge',
    method: 'get',
    params,
  })
}
export function doStatisticsForEmpInsByYearSplitMonth(params) {
  return request({
    url: '/publicApiAuth/doStatisticsForEmpInsByYearSplitMonth',
    method: 'get',
    params,
  })
}
export function doStatisticsForApiInsByYearSplitMonth(params) {
  return request({
    url: '/publicApiAuth/doStatisticsForApiInsByYearSplitMonth',
    method: 'get',
    params,
  })
}
